package _嗖嗖移动大厅2_0.A3_0;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class Kehu implements Serializable {
//    private String combo;//套餐
    private String name;//用户名
    private String pass;//密码
    private double money;//话费


    _taocan ta=new _taocan();//套餐
    List<jilu> list =new ArrayList<>();
    public Kehu() {
    }

    public List<jilu> getList() {
        return list;
    }

    public void setList(List<jilu> list) {
        this.list = list;
    }

    public Kehu(_taocan ta, String name, String pass, double money) {
        this.ta = ta;
        this.name = name;
        this.pass = pass;
        this.money = money;
    }

    public _taocan getTa() {
        return ta;
    }

    public void setTa(_taocan ta) {
        this.ta = ta;
    }

    public _taocan getCombo() {
        return ta;
    }

    public void setCombo(_taocan ta) {
        this.ta = ta;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPass() {
        return pass;
    }

    public void setPass(String pass) {
        this.pass = pass;
    }

    public double getMoney() {
        return money;
    }

    public void setMoney(double money) {
        this.money = money;
    }

    @Override
    public String toString() {
        return ", 套餐:'" + ta.getTaocan() + '\'' +
                ", 姓名:'" + name + '\'' +
                ", 密码:'" + pass + '\'' +
                ", 余额:" + money +
                '}';
    }
}
